package com.ruoyi.mine.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 我的预约对象 my_reserve
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public class MyReserve extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表ID */
    private Long reserveId;

    /** 预约地址 */
    @Excel(name = "预约地址")
    private String reserveAdress;

    /** 预约地点 */
    @Excel(name = "预约地点")
    private String reserveName;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reserveTime;

    /** 预约创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reserveCreateTime;

    /** 预约用户ID */
    @Excel(name = "预约用户ID")
    private Long reserveUserId;

    /** 预约标记: 1预约  0未预约 */
    @Excel(name = "预约标记: 1预约  0未预约")
    private Integer reserveTag;

    public void setReserveId(Long reserveId) 
    {
        this.reserveId = reserveId;
    }

    public Long getReserveId() 
    {
        return reserveId;
    }
    public void setReserveAdress(String reserveAdress) 
    {
        this.reserveAdress = reserveAdress;
    }

    public String getReserveAdress() 
    {
        return reserveAdress;
    }
    public void setReserveName(String reserveName) 
    {
        this.reserveName = reserveName;
    }

    public String getReserveName() 
    {
        return reserveName;
    }
    public void setReserveTime(Date reserveTime) 
    {
        this.reserveTime = reserveTime;
    }

    public Date getReserveTime() 
    {
        return reserveTime;
    }
    public void setReserveCreateTime(Date reserveCreateTime) 
    {
        this.reserveCreateTime = reserveCreateTime;
    }

    public Date getReserveCreateTime() 
    {
        return reserveCreateTime;
    }
    public void setReserveUserId(Long reserveUserId) 
    {
        this.reserveUserId = reserveUserId;
    }

    public Long getReserveUserId() 
    {
        return reserveUserId;
    }
    public void setReserveTag(Integer reserveTag) 
    {
        this.reserveTag = reserveTag;
    }

    public Integer getReserveTag() 
    {
        return reserveTag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reserveId", getReserveId())
            .append("reserveAdress", getReserveAdress())
            .append("reserveName", getReserveName())
            .append("reserveTime", getReserveTime())
            .append("reserveCreateTime", getReserveCreateTime())
            .append("reserveUserId", getReserveUserId())
            .append("reserveTag", getReserveTag())
            .toString();
    }
}
